package com.ruoyi.tzzl.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.tzzl.domain.WzFocuson;
import com.ruoyi.tzzl.domain.bo.WzFocusonBo;
import com.ruoyi.tzzl.domain.vo.QueryVo;

import java.util.List;

/**
 * 用户关注Service接口
 * @author by caoyong
 * @date 2022/11/18
 **/
public interface  IWzFocusonService extends IService<WzFocuson> {


    /**关注*/
    boolean follow(WzFocuson wzFocuson);

    /**取消关注*/
    public boolean attention(WzFocuson wzFocuson);

    /**查询用户关注列表*/
    List<WzFocusonBo> attentionList(QueryVo queryVo);

    /**查询是否已经关注用户
     * wid 微信用户id  userId被关注用户id
     * return 0-未关注  1-已关注
     * */
    String judgeAttention(Long Wid, Long userId);

    /**查看谁关注了我*/
    List<WzFocuson> beAttention(Long id);



}
